package com.zhongyouyun.admin.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.zhongyouyun.admin.model.DictModel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhongyouyun.admin.model.MenuModel;
import com.zhongyouyun.admin.model.RoleModel;
import com.zhongyouyun.admin.pojo.DictPojo;

import java.util.List;

/**
 * @Author: shenyi
 * @Date: 2021-12-20
 * @Description: 服务类
 */

public interface DictService extends IService<DictModel> {

    IPage<DictModel> selectPage(Page<DictModel> userPage, QueryWrapper<DictModel> queryWrapper);

    List<DictModel> selectList(QueryWrapper<DictModel> QueryWrapper);

    List<DictModel>  selectListbyRoleId(RoleModel roleModel);

    IPage selectUserPage(Page page, QueryWrapper<DictModel> queryWrapper, int id,String state);

    IPage<DictPojo> selectPojoPage(Page page, QueryWrapper<DictPojo> queryWrapper);
}
